.PHONY:all
all:translate_server translate_client

translate_server:server.cc
	g++ -o $@ $^ -std=c++11  -I../include/ -lmuduo_net -lmuduo_base -L../lib/ -lpthread
translate_client:client.cc
	g++ -o $@ $^ -std=c++11  -I../include/ -lmuduo_net -lmuduo_base -L../lib/ -lpthread -g

.PHONY:clean
clean:
	rm -rf translate_server translate_client